package io.coderyeah.org.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (TOperationLog)实体类
 *
 * @author makejava
 * @since 2022-09-09 09:13:46
 */
@Data
public class OperationLog implements Serializable {
    private static final long serialVersionUID = -73480508994561199L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 操作者用户名
     */
    private String username;
    /**
     * 操作描述
     */
    @TableField("description")
    private String description;
    /**
     * 操作方法名字
     */
    private String methodName;
    /**
     * 操作电脑IP
     */
    private String ip;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 记录的日志模块
     */
    private String module;

}

